#include "lcd.h"
#include "stdio.h"
#include "main.h"
extern char buff[40];
extern float fee1;
extern float fee2;
extern int CNBRnum;
extern int VNBRnum;
extern int IDLE;

void date()
{

	
	
	LCD_DisplayStringLine(Line2, (uint8_t *)"    DATE            ");
	LCD_DisplayStringLine(Line3, (uint8_t *)"                    ");
	//LCD_DisplayStringLine(Line4, (uint8_t *)"    CNBR:           ");
	




	                               sprintf(buff,"    CNBR:%d     ",CNBRnum); 
	LCD_DisplayStringLine(Line4,(uint8_t *)buff);
	                                sprintf(buff,"    VNBR:%d     ",VNBRnum); 
	LCD_DisplayStringLine(Line6,(uint8_t *)buff);
	                                 sprintf(buff,"    IDLE:%d    ",IDLE); 
	LCD_DisplayStringLine(Line8,(uint8_t *)buff);

	
}
void pare()
{
	LCD_DisplayStringLine(Line2, (uint8_t *)"    PARE            ");
                          	 sprintf(buff,"    CNBR:%.2f       ",fee1); 
	LCD_DisplayStringLine(Line4,(uint8_t *)buff);
	                           sprintf(buff,"    VNBR:%.2f       ",fee2); 
	LCD_DisplayStringLine(Line6,(uint8_t *)buff);
	
	LCD_DisplayStringLine(Line8, (uint8_t *)"                    ");


}